package com.ssm.service.impl;

import com.ssm.dao.PictureDao;
import com.ssm.entity.Picture;
import com.ssm.service.PictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

/**
 * Created by LinYaTing on 2018/12/9 22:47
 */
@Service
public class PictureServiceImpl implements PictureService {

    @Autowired
    private PictureDao pictureDao;

    @Override
    public List<Picture> findPicture(Map<String, Object> map) {
        return pictureDao.findPicture(map);
    }

    @Override
    public Long getTotalPicture(Map<String, Object> map) {
        return pictureDao.getTotalPicture(map);
    }
}
